	
	clear
	version 16.1
	set seed 1234
	 
	 cd "~"
	 
	** Change the file name for each resulting dataset 
	use eba_vtfe_53.dta
	tab var
	
	* This file was used and run on each dataset generated by the VTFE do files 
	gen x="y1919_1994"
	
		** dropping unnecessary variables **
		
			drop if _id==.
	
		** 1.1. regressions calculated
	
			codebook _id
		
		** 1.3. Mean of Coef, SE, min, max    **
		 
			sum coef if var==x
		
		** 1.4.  %(significant != 0)  **
 
			count if var==x &   pval<=.05 & pval~=.
	 	
		** 1.5. %(beta < 0)  
		 
			count if var==x & coef<0 & coef~=.

		** 1.5. %(beta > 0)  
		 
			count if var==x & coef>0 & coef~=.
				
		** 1.6.  %(signif & beta <= 0)  
				
			count if var==x &  	pval<=.05 &	coef<=0 
		
		** 1.7.  %(signif & beta > 0)  
				
			count if var==x &  	pval<=.05 &	coef>0 

		** 1.8 Sala-i-Martin's Extreme Bounds Analysis (EBA):
				 	  
 		cumul coef if var==x, gen(cdf) equal
		sort coef
		browse coef cdf  if cdf~=.	
 
	 
